class Tailieu < ActiveRecord::Base
	has_one :chitietupload
	has_one :taikhoan ,:through => :chitietupload
	has_many :chitietdownloads
	has_many :taikhoans, :through=> :chitietdownloads
	belongs_to:theloai
	belongs_to :truong
end
